passthrough: allow pass-through devices to share virtual GSI
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Mar 2009 10:05:00 +0000 (10:05 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Mar 2009 10:05:00 +0000 (10:05 +0000)
commit8c28e3d47d14e30566bc5ea3cf527c812ee3f9a2
tree9cd528c48322be09113cad98772c77d1d2feb33d
parente8ebaf831c53b0188b2670fdfab89923169f0130
passthrough: allow pass-through devices to share virtual GSI

Allow multiple pass-through devices to use the same guest_gsi.

The motivation for this is:

* Allow multi-function devices to be passed through as multi-function
  devices
* Allow more than two pass-through devices.
  - This will place more contention on the GSI-space, and allocation
    becomes a lot simpler if GSI sharing is allowed.

Signed-off-by: Simon Horman <horms@verge.net.au>
xen/drivers/passthrough/io.c
xen/include/xen/hvm/irq.h